package com.itxzh.poidemo.dao;

import com.itxzh.common.entities.Person;
import org.apache.ibatis.cursor.Cursor;
import org.apache.ibatis.session.ResultHandler;

import java.util.List;

/**
 * Description
 *
 * @Author ldt
 * @Date 2022/5/9 9:55
 * @Version 1.0.0
 */
public interface PersonMapper {

    Integer create(Person person);

    Integer insertBatch(List<Person> personList);

    List<Person> getAll();

    void scan(ResultHandler<Person> handler);
}
